package com.jerem.gwt.bredgolf.client;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Joueur implements Serializable {

	private Long id;
	private String nom;
	private String prenom;
	private String email;
	private float indexCompet;
	private float indexAmical;
	private List<Score> listeScore;
	private Date createDate;

	public Joueur() {
	}

	public Joueur(String nom, String prenom, String email, int indexCompet, int indexAmical) {
		this();
		this.nom = nom;
		this.prenom = prenom;
		this.email = email;
		this.indexCompet = indexCompet;
		this.indexAmical = indexAmical;
	}

	public Long getId() {
		return id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public float getIndexCompet() {
		return indexCompet;
	}

	public void setIndexCompet(float indexCompet) {
		this.indexCompet = indexCompet;
	}

	public float getIndexAmical() {
		return indexAmical;
	}

	public void setIndexAmical(float indexAmical) {
		this.indexAmical = indexAmical;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public List<Score> getListeScore() {
		return listeScore;
	}

	public void setListeScore(List<Score> listeScore) {
		this.listeScore = listeScore;
	}

	public void setId(Long id) {
		this.id = id;
	}

}